import api from './apis';
import { post, get, postFile, postJson } from '../request';


export function insertQuestion (params) {
  return postJson(api.insertQuestion, params, true);
}
export function getQuestionByrzId (params) {
  return postJson(api.getQuestionByrzId, params, true);
}
export function getLaborRaceQuestionnaireInfo (params) {
  return postJson(api.getLaborRaceQuestionnaireInfo, params, true);
}
export function insertVisitCropQuestion (params) {
  return postJson(api.insertVisitCropQuestion, params, true);
}
export function getVisitCropQuestionByRzId (params) {
  return postJson(api.getVisitCropQuestionByRzId, params, true);
}
export function insertCropQuestionForLabor (params) {
  return postJson(api.insertCropQuestionForLabor, params, true);
}
export default {
  insertQuestion,
  getQuestionByrzId,
  getLaborRaceQuestionnaireInfo,
  insertVisitCropQuestion,
  getVisitCropQuestionByRzId,
  insertCropQuestionForLabor
};
